<pre class="docs-method-signature"><code>path.removeSegment(index)</code></pre>
<p>Remove the path segment at <code>index</code>.</p>

<p>Negative indices are accepted; they instruct the algorithm to start looking from the end of the segments array.</p>

<p>The function does not return anything.</p>
